package thinker.miracle.ams.model;

import java.io.Serializable;
import java.util.List;


/**
 * @author chenbo
 * 
 * 接口 model
 * 
 */
public class InterfaceModel implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * ID
	 */
	private int id;
	
	/**
	 * 接口名称
	 */
	private String name;
	
	/**
	 * url
	 */
	private String url;
	
	/**
	 * 请求类型
	 */
	private String method;
	
	/**
	 * 说明
	 */
	private String remark;
	
	/**
	 * 接口版本
	 */
	private String version;
	
	/**
	 * 接口参数
	 */
	private List<ParamsModel> params;

	/**
	 * 返回编码说明
	 */
	private List<ResultModel> results;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public List<ParamsModel> getParams() {
		return params;
	}

	public void setParams(List<ParamsModel> params) {
		this.params = params;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public List<ResultModel> getResults() {
		return results;
	}

	public void setResults(List<ResultModel> results) {
		this.results = results;
	}
}
